<nav class="navbar navbar-inverse navbar-fixed-top" >
  <div class="container">

      <div class="navbar-header">
          <!--<a [routerLink]="[{outlets: {primary: 'home', aux: 'chat'}}]" class="navbar-brand">淘淘乐</a>-->
        <a [routerLink]="['']" class="navbar-brand">淘淘乐</a>
      </div>

      <div>
          <ul class="nav navbar-nav">
              <li>
                <a [routerLink]="['/product']">全部商品</a>
                <!--<a [routerLink]="['/product']" [queryParams]="{id:1}">关于我们</a>-->
              </li>
              <li>
                <!--<a [routerLink]="['/product', 100]">联系我们</a>-->
              </li>
              <li>
                <a [routerLink]="['/contentour']">联系我们</a>
              </li>
              <!--<li>
                <input type="button" value="测试路由" (click)="toProductDetail()">
              </li>-->
          </ul>
      </div>

      <div class="pull-right">
        <ul class="nav navbar-nav">
          <li><a href="javascript:void(0);">欢迎&nbsp;&nbsp;超级管理员</a></li>
          <li><a [routerLink]="['/home']">退出</a></li>
        </ul>
      </div>

  </div>
</nav>
